﻿Imports DAO
Imports DTO
Imports System.Data.Linq

Public Class TheHuyBus
    Public Shared Function LayBang() As Table(Of TheHuy)
        Return TheHuyDao.LayBang()
    End Function

    Public Shared Function LayDanhSach() As IEnumerable(Of TheHuy)
        Dim lst As IEnumerable(Of TheHuy)
        lst = TheHuyDao.LayDanhSach()
        Return lst
    End Function

    Public Shared Sub Them(ByVal t As TheHuy)
        TheHuyDao.Them(t)
    End Sub
End Class
